package com.luoc.service.impl;

import com.luoc.service.Discount;

/**
 * @Author: luoc
 * @Date: 2019/10/10 16:46
 */
public class VIPDiscount implements Discount {
    @Override
    public Double calculate(Double originPrice) {
        return originPrice * 0.9;
    }
}
